package com.loong.loong.hik.api.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author jinyiang
 * @date 2023/3/10 15:42
 */
@Data
@ApiModel(value = "重点人员识别计划实体类")
@TableName("hik_people_identify")
public class HikPeopleIdentify extends Model<HikPeopleIdentify> {

	private static final long serialVersionUID = 1L;
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;
	@ApiModelProperty(value = "计划名称")
	private String name;
	@ApiModelProperty(value = "人脸分组索引代码列表")
	private String faceGroupIndexCodes;
	@ApiModelProperty(value = "摄像头索引代码列表")
	private String cameraIndexCodes;
	@ApiModelProperty(value = "识别资源索引代码列表")
	private String recognitionResourceIndexCodes;
	@ApiModelProperty(value = "识别资源类型")
	private String recognitionResourceType;
	@ApiModelProperty(value = "描述信息")
	private String description;
	@ApiModelProperty(value = "相似度阈值")
	private int threshold;
	@ApiModelProperty(value = "时间段列表")
	private String timeBlockList;
	@ApiModelProperty(value = "人员标识 important-重点，strange-陌生人")
	private String flag;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.UPDATE)
	@ApiModelProperty(value = "更新时间")
	private LocalDateTime updateTime;


	/**
	 * 删除标记
	 */
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "删除标记,1:已删除,0:正常")
	private String delFlag;
}
